﻿using System;

namespace Microsoft.SPOT.Hardware
{
    public class InputPort : Port
    {
        public InputPort(Cpu.Pin portId, bool glitchFilter, Port.ResistorMode resistor)
            : base(portId, false, glitchFilter, resistor)
        {
            GlitchFilter = glitchFilter;
            Resistor = resistor;
        }

//        protected InputPort(Cpu.Pin portId, bool initialState, bool glitchFilter, Port.ResistorMode resistor);
//        protected InputPort(Cpu.Pin portId, bool glitchFilter, Port.ResistorMode resistor, Port.InterruptMode interruptMode);

        public bool GlitchFilter { get; set; }
        public Port.ResistorMode Resistor { get; set; }
    }
}
